package com.dgz.coolshark.mapper;

import com.dgz.coolshark.pojo.entity.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author duguozheng
 * @Date 2023/04/27  15:54
 * @Description
 * @Version 1.0
 */
@Repository
public interface BannerMapper {
    List<Banner> select();

    void deleteById(int id);

    void insert(String url);

    void update(Banner banner);

    Banner selectById(int id);

    String selectUrlById(Integer id);

}
